PEConvertVInfotoPFInfo

Use PEConvertVInfotoPFInfo to convert a value contained in PEValueInfo, into the binary representation expected by PESetNthParameterField.

C Syntax
BOOL CRPE_API PEConvertVInfoToPFInfo (
        PEValueInfo FAR *valueInfo,
        WORD FAR *valueType,
        void FAR *value );
Parameters

valueInfo

Specifies a pointer to PEValueInfo, that contains the value to be converted.

valueType

Specifies a pointer to the type of the value.

value

Specifies a pointer used to store the value in converted form for use in PESetNthParameterField.

Returns
VB Syntax

VB Sample Code for converting to parameter field values

Declare Function PEConvertVInfoToPFInfo Lib "crpe32.dll" (valueInfo _
    As PEValueInfo, ByVal valueType as Integer, ByVal value As Any) As Integer
Delphi Syntax

Delphi code for getting/setting parameter field information

function PEConvertVInfoToPFInfo (
    var valueInfo: PEValueInfo;
    var valueType: Word;
    value: Pchar
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com